<!DOCTYPE html>
<html lang="en">
  <head>
    <title>ElementLabel Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>

    <a name="//apple_ref/swift/Class/ElementLabel" class="dashAnchor"></a>

    <a title="ElementLabel Class Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../index.html">
          InAppViewDebugger Docs
        </a>
         (100% documented)
      </p>
    
      <p class="header-col--secondary">
        <form role="search" action="../search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/indragiek/InAppViewDebugger">
            <img class="header-icon" src="../img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../index.html">InAppViewDebugger Reference</a>
      <img class="carat" src="../img/carat.png" />
      ElementLabel Class Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/Configuration.html">Configuration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ElementLabel.html">ElementLabel</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ElementLabel/Classification.html">– Classification</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/HierarchyViewConfiguration.html">HierarchyViewConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/InAppViewDebugger.html">InAppViewDebugger</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/Snapshot.html">Snapshot</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/SnapshotViewConfiguration.html">SnapshotViewConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/SnapshotViewConfiguration/HeaderAttributes.html">– HeaderAttributes</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ViewElement.html">ViewElement</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/Element.html">Element</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>ElementLabel</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">@objc(IAVDElementLabel)</span>
<span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">ElementLabel</span> <span class="p">:</span> <span class="kt">NSObject</span></code></pre>

                </div>
              </div>
            <p>Provides identifying information for an element that is displayed in the
view debugger.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:17InAppViewDebugger12ElementLabelC14ClassificationO"></a>
                    <a name="//apple_ref/swift/Enum/Classification" class="dashAnchor"></a>
                    <a class="token" href="#/s:17InAppViewDebugger12ElementLabelC14ClassificationO">Classification</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Classification for an element that determines how it is represented
in the view debugger.</p>

                        <a href="../Classes/ElementLabel/Classification.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc(IAVDElementClassification)</span>
<span class="kd">public</span> <span class="kd">enum</span> <span class="kt">Classification</span> <span class="p">:</span> <span class="kt">Int</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/indragiek/InAppViewDebugger/tree/1.0.0/InAppViewDebugger/Element.swift#L16-L22">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(py)name"></a>
                    <a name="//apple_ref/swift/Property/name" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(py)name">name</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A human readable name for the element.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="k">let</span> <span class="nv">name</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/indragiek/InAppViewDebugger/tree/1.0.0/InAppViewDebugger/Element.swift#L25">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(py)classification"></a>
                    <a name="//apple_ref/swift/Property/classification" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(py)classification">classification</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Classification for an element that determines how it is represented
in the view debugger.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="k">let</span> <span class="nv">classification</span><span class="p">:</span> <span class="kt"><a href="../Classes/ElementLabel/Classification.html">Classification</a></span></code></pre>

                        </div>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/indragiek/InAppViewDebugger/tree/1.0.0/InAppViewDebugger/Element.swift#L29">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(im)initWithName:classification:"></a>
                    <a name="//apple_ref/swift/Method/init(name:classification:)" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@InAppViewDebugger@objc(cs)IAVDElementLabel(im)initWithName:classification:">init(name:classification:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Constructs a new <code><a href="../Protocols/Element.html">Element</a></code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">name</span><span class="p">:</span> <span class="kt">String</span><span class="p">?,</span> <span class="nv">classification</span><span class="p">:</span> <span class="kt"><a href="../Classes/ElementLabel/Classification.html">Classification</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">normal</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>name</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A human readable name for the element</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>classification</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Classification for an element that determines how it
is represented in the view debugger.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div class="slightly-smaller">
                        <a href="https://github.com/indragiek/InAppViewDebugger/tree/1.0.0/InAppViewDebugger/Element.swift#L37-L40">Show on GitHub</a>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2019 <a class="link" href="http://indragie.com" target="_blank" rel="external">Indragie Karunaratne</a>. All rights reserved. (Last updated: 2019-04-21)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
